﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using MahApps.Metro;

namespace MyMediaPlayer
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
        protected override void OnStartup(StartupEventArgs e)
        {
            string selectedColor = MyMediaPlayer.Properties.Settings.Default.SelectedColor;
            ThemeManager.ChangeAppStyle(Application.Current, ThemeManager.GetAccent(selectedColor), ThemeManager.GetAppTheme("BaseLight"));
            base.OnStartup(e);
            
        }
    }
}
